-- GENERATED SPELL FOR [Daphne Stilwell] --


function spell0_6182(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6182', 544, 1)
end

function Sorts_6182(pUnit, Event)
local choix_sorts_6182 = math.random(0, 0)
if choix_sorts_6182 == 0 then
pUnit:RegisterEvent('spell0_6182', 1, 1)
end
end

function mob6182_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6182', math.random(1500, 3000), 1)
end

function mob6182_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6182_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6182_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6182, 1, 'mob6182_Action')
RegisterUnitEvent(6182, 2, 'mob6182_Leave')
RegisterUnitEvent(6182, 3, 'mob6182_Kill')
RegisterUnitEvent(6182, 4, 'mob6182_Die')
